/* ================================= */
/* CSS for control sap.m/MessageBox  */
/* Base theme                        */
/* ================================= */

.sapMMessageBoxLinkText {
	margin-top: 1rem;
	float: left;
}

.sapMMessageBoxDetails {
	padding-top: 1rem;
}

.sapMMessageBoxBarShadow(@color) {
	box-shadow: inset 0 -0.125rem @color;
}

.sapMDialog.sapMMessageBoxInfo .sapMDialogIcon.sapUiIcon {
	color: @sapUiNeutralElement;
}

.sapMDialog.sapMMessageBoxWarning .sapMDialogIcon.sapUiIcon {
	color: @sapUiCriticalElement;
}

.sapMDialog.sapMMessageBoxError .sapMDialogIcon.sapUiIcon {
	color: @sapUiNegativeElement;
}

.sapMDialog.sapMMessageBoxSuccess .sapMDialogIcon.sapUiIcon {
	color: @sapUiPositiveElement;
}

.sapMDialog.sapMMessageBoxQuestion .sapMDialogIcon.sapUiIcon {
	color: @sapUiNeutralElement;
}

.sapMMessageDialog.sapMMessageBoxInfo > .sapMBar {
	.sapMMessageBoxBarShadow(@sapUiNeutralElement);
}

.sapMMessageDialog.sapMMessageBoxWarning > .sapMBar {
	.sapMMessageBoxBarShadow(@sapUiCriticalElement);
}

.sapMMessageDialog.sapMMessageBoxError > .sapMBar {
	.sapMMessageBoxBarShadow(@sapUiNegativeElement);
}

.sapMMessageDialog.sapMMessageBoxSuccess > .sapMBar {
	.sapMMessageBoxBarShadow(@sapUiPositiveElement);
}

.sapMMessageDialog.sapMMessageBoxQuestion > .sapMBar {
	.sapMMessageBoxBarShadow(@sapUiNeutralElement);
}